﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;

namespace MQ.Core.Cache
{
    public class RedisOption
    {
        public static string Uri { set; get; }
        public IConfiguration configuration;
        public RedisOption(IConfiguration configuration)
        {
            this.configuration = configuration;
            Uri=configuration["RedisConnection:uri"];
        }
    }
}
